home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / wb / flynn / source / flynnapp.h < prev    next >
C/C++ Source or Header  |  1999-06-15  |  611b  |  42 lines

  1.  
  2. #include <exec/types.h>
  3. #include <guigfx/guigfx.h>
  4. #include <intuition/intuition.h>
  5. #include "defs.h"
  6. #include "window.h"
  7.  
  8. #define FLYNN_IDLE    0
  9. #define FLYNN_EVIL    1
  10. #define FLYNN_HATE    2
  11. #define FLYNN_DEAD    3
  12. #define FLYNN_GOD    4
  13.  
  14.  
  15. struct FlynnApp
  16. {
  17.     struct mvwindow *window;
  18.     PICTURE *flynnpicture;
  19.     ULONG flynnwidth, flynnheight;
  20.  
  21.     APTR psm;
  22.  
  23.     struct MsgPort *scrmsgport;
  24.     APTR scrnotifyhandle;
  25.  
  26.     APTR subtask;    
  27.     struct idledata
  28.     {
  29.         int count;
  30.     } idledata;
  31.  
  32.     int flynnmode;
  33.     float flynnhealth;
  34.     int *flynnanimptr;
  35.  
  36.     char filenamebuffer[MAXNAMELEN];
  37.     char *progname;
  38.  
  39.     int winx, winy, winwidth, winheight;    
  40. };
  41.  
  42.